package com.atguigu.spzx.product.service;

import com.atguigu.spzx.model.entity.order.OrderItem;
import com.atguigu.spzx.model.entity.product.ProductSku;
import com.atguigu.spzx.model.h5.ProductSkuDto;
import com.atguigu.spzx.model.vo.h5.ProductItemVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author syh
 * @create 2023-09-01 10:39
 */
public interface ProductService2 {
    PageInfo<ProductSku> findByPage(Integer page, Integer limit, ProductSkuDto productSkuDto);

    ProductItemVo item(Long skuId);

    ProductSku getBySkuId(Long skuId);

    ProductSku findSkuBySkuId(Long skuId);

    List<ProductSku> findProductSkus(List<OrderItem> orderItemList);
}
